<#escape x as x?html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>权限界面</title>
	<link href="${rc.contextPath}/Resources/style/style.css" rel="stylesheet" type="text/css" />
 <style>
    .record_list
	  { 
	    padding-top:15px;
	    padding-left:5%;
		}
			 .record_list li
			 {
			  border-bottom: 1px solid green;
			    float: left;
			    height: 30px;
			    line-height: 30px;
			    margin-left: 1%;
			    padding-left: 1%;
			    padding-right: 100px;
			    width: 70%;
			 }
			  
				.record_list li span
			  {
					 display:block;
				   float:right;
				   padding-right:0px;
				   width:30%;
				}
				.record_list  .footer3
				{
					    height:30px;
				 }
    </style>
</head>

<body>
  <table class="layout" cellspacing="0" cellpadding="0">
        <tr>
            <td class="left_side">
                <div class="person">
                    <img class="png" src="${rc.contextPath}/Resources/images/portrait.png" />
                    <div class="welcome">
                        欢迎您,&nbsp;${Session["currentUser"].fullName}&nbsp;!
                          <br />当前作为&nbsp;
                    <#if Session["currentUser"].role == 2>
                    	系统管理员
                    <#elseif Session["currentUser"].role == 1>
                    	录入员
                    <#else>
                		普通用户
                    </#if>        
             	&nbsp;登录.
                    </div>
                </div>
                <ul class="accordion" style="margin-top: 0px;" >
                    <li class="item">
                        <a class="item" onclick="loadList();">值班信息检索</a>
                    </li>
                    <li id="zb_text" class="item">
                        <a class="item" onclick="loadText();">值班信息录入</a>
                    </li> 
                     <li id="zb_qx" class="item">
                        <a class="item" onclick="loadAuthority();">权限分配</a>
                    </li> 
                </ul>
            </td>
            <td align="center" valign="middle" class="right_main" style="height">
                <div class="panel">
                    <div class="banner">
                        <h2 class="title">值班记录表</h2>
                        <a class="expand" href="javascript:void(0)"></a>
                    </div>
                    <div class="content">
                         <div class="reserch-bar" width="100%" height="34px">
                           <table width="100%" class="text4" align="center"  height="34px"border="0" cellspacing="0" cellpadding="0">
                                     <tr>
                                           <td width="8%">&nbsp;</td>
                                           <td width="6%" align="right" valign="middle">值班日期：</td>
                                           <td width="12%" align="left" ><input id="dutyTime" name="dutyTime" class="text1"></td>
                                           <!--td width="6%" align="right" valign="middle">录入日期：</td>
                                           <td width="12%" align="left" ><input id="entryTime" name="entryTime" class="text1"></td-->
                                           <td width="4%">&nbsp;</td>
                                           <td width="6%" align="right" >录入人：</td>
                                           <td width="10%" align="left" ><input id="dutyMan" name="dutyMan" type="text" class="text2"></td>
                                           <td width="3%">&nbsp;</td>
                                           <td width="8%" align="right" ><button id="search" name="search" class="button-reserch" onclick="goToQXPage(1)">搜索</button></td>
                                           <td>&nbsp;</td>
                                     </tr>
                                 </table>
                           </div>

                           <div class="information">
                           		<input id='currentPage' value="1" type='hidden'><input id='totalPages' type='hidden'><input id='totalCount' type='hidden'>
                                  <ul id="records" class="record_list" style="height:500px;margin:auto;"></ul>
                         </div>
                    <div id="pager" class="footer3" height="34px" style="clear:both;text-align:center;"></div>
               </div>
              </div>
            </div>
            </td>
        </tr>

    </table>
</body>
</html>
</#escape>